<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Backup and Restore</title>
<meta name="GENERATOR" content="WinCHM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

</head>

<body>

<p>.NET uses bundles to represent forms. For example: A bundle called FrmMain in an application which uses English and Czech would generate FrmMain.en.resx and FrmMain.cs.resx. .NET can also make use of generic bundles which can be used by any class by creating a new ResourceManager object.</p>
<p>To localize a form automatically, set it's <em>localizable</em> property to true. Everything else is automatic.</p>
<p>To access a bundle manually (programatically), use <a href="http://msdn.microsoft.com/en-us/library/system.resources.resourcemanager.aspx">ResourceManager</a>.</p>
<p><strong>For Example:</strong></p>
<pre>
ResourceManager lang = new ResourceManager("<span style="color:purple;">projectName</span>.<span style="color:#EF0E0E;">SomeBundle</span>", Assembly.GetExecutingAssembly());
string someElement = lang.GetString("<span style="color:#158F00;">MyElement</span>");
</pre>

</body>
</html>

